import request from "@/utils/request";

export const getZmList = (data) => {
  return request({
    url: "/intra/monitor/monitorsluice/list",
    method: "get",
    params: data,
  });
};
export const delZm = (data) => {
  return request({
    url: "/intra/monitor/monitorsluice/delete",
    method: "delete",
    data,
  });
};
export const getZmDetailById = (id) => {
  return request({
    url: `/intra/monitor/monitorsluice/detail/${id}`,
    method: "get",
  });
};
export const saveZm = (data) => {
  return request({
    url: `/intra/monitor/monitorsluice/submit`,
    method: "post",
    data,
  });
};
